package ace.module.captcha.sms.api.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import jakarta.validation.constraints.*;
import jakarta.annotation.Nullable;
import java.io.Serializable;

/**
* 短信验证码应用扩展 data transform object.
*
* @author Caspar
*/
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = CaptchaSmsApplicationExtendDto.TABLE_DESC)
public class CaptchaSmsApplicationExtendDto implements Serializable {

  public static final String TABLE_NAME = "captcha_sms_application_extend";
  public static final String TABLE_DESC = "短信验证码应用扩展";
  public static final String ID_COLUMN_NAME = "id";
  public static final String ID_TITLE = "id";
  public static final String ID_DESC = "";
  public static final String CAPTCHA_SMS_APP_ID_COLUMN_NAME = "captcha_sms_app_id";
  public static final String CAPTCHA_SMS_APP_ID_TITLE = "captchaSmsAppId";
  public static final String CAPTCHA_SMS_APP_ID_DESC = "";
  public static final String CAPTCHA_SMS_ITEM_CONFIG_ID_COLUMN_NAME = "captcha_sms_item_config_id";
  public static final String CAPTCHA_SMS_ITEM_CONFIG_ID_TITLE = "captchaSmsItemConfigId";
  public static final String CAPTCHA_SMS_ITEM_CONFIG_ID_DESC = "";
  public static final String SMS_APP_ID_COLUMN_NAME = "sms_app_id";
  public static final String SMS_APP_ID_TITLE = "短信应用id";
  public static final String SMS_APP_ID_DESC = "";
  public static final String DELETE_FLAG_COLUMN_NAME = "delete_flag";
  public static final String DELETE_FLAG_TITLE = "删除标识";
  public static final String DELETE_FLAG_DESC = "0-未删除";
  public static final String CREATE_TIME_COLUMN_NAME = "create_time";
  public static final String CREATE_TIME_TITLE = "创建时间";
  public static final String CREATE_TIME_DESC = "单位-毫秒";
  public static final String UPDATE_TIME_COLUMN_NAME = "update_time";
  public static final String UPDATE_TIME_TITLE = "更新时间";
  public static final String UPDATE_TIME_DESC = "单位-毫秒";
  public static final String ROW_VERSION_COLUMN_NAME = "row_version";
  public static final String ROW_VERSION_TITLE = "版本号和乐观锁";
  public static final String ROW_VERSION_DESC = "";

  @Schema(title = ID_TITLE, description = ID_DESC)
  private Long id;

  @Schema(title = CAPTCHA_SMS_APP_ID_TITLE, description = CAPTCHA_SMS_APP_ID_DESC)
  private Long captchaSmsAppId;

  @Schema(title = CAPTCHA_SMS_ITEM_CONFIG_ID_TITLE, description = CAPTCHA_SMS_ITEM_CONFIG_ID_DESC)
  private Long captchaSmsItemConfigId;

  @Schema(title = SMS_APP_ID_TITLE, description = SMS_APP_ID_DESC)
  private Long smsAppId;

  @Schema(title = DELETE_FLAG_TITLE, description = DELETE_FLAG_DESC)
  private Long deleteFlag;

  @Schema(title = CREATE_TIME_TITLE, description = CREATE_TIME_DESC)
  private Long createTime;

  @Schema(title = UPDATE_TIME_TITLE, description = UPDATE_TIME_DESC)
  private Long updateTime;

  @Schema(title = ROW_VERSION_TITLE, description = ROW_VERSION_DESC)
  private Long rowVersion;

}